$OpenBSD: patch-makefile,v 1.16 2012/08/19 21:20:52 jasper Exp $
--- makefile.orig	Mon Apr 23 16:28:04 2012
+++ makefile	Fri Jul  6 20:09:32 2012
@@ -300,7 +300,7 @@ ifneq ($(DEBUG),)
   CFLAGS_O = -O0
   BUILD_FEATURES = - debugging support
 else
-  CFLAGS_O = -O2
+  CFLAGS_O = $(CFLAGS)
   LDFLAGS_O = 
   GCC_MAJOR_VERSION = $(firstword $(subst  ., ,$(GCC_VERSION)))
   ifneq (3,$(GCC_MAJOR_VERSION))
